QT       += core gui network mqtt

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    changeuserwidget.cpp \
    config.cpp \
    icebearledwidget.cpp \
    keyboard.cpp \
    light_temphum_widget.cpp \
    loginwidget.cpp \
    main.cpp \
    led_bee_fan_widget.cpp \
    mainwidget.cpp \
    mqtt.cpp \
    removeuserwidget.cpp

HEADERS += \
    changeuserwidget.h \
    config.h \
    fsmpBeeper.h \
    fsmpEvents.h \
    fsmpFan.h \
    fsmpLed.h \
    fsmpLight.h \
    fsmpProximity.h \
    fsmpSevensegLed.h \
    fsmpTempHum.h \
    fsmpVibrator.h \
    icebearledwidget.h \
    keyboard.h \
    led_bee_fan_widget.h \
    light_temphum_widget.h \
    loginwidget.h \
    mainwidget.h \
    mqtt.h \
    removeuserwidget.h

FORMS += \
    changeuserwidget.ui \
    icebearledwidget.ui \
    keyboard.ui \
    led_bee_fan_widget.ui \
    light_temphum_widget.ui \
    loginwidget.ui \
    mainwidget.ui \
    mqtt.ui \
    removeuserwidget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    ziku/ziku.dat

RESOURCES += \
    image.qrc \
    image.qrc \
    ziku/ziku.qrc
